home *** CD-ROM | disk | FTP | other *** search
- #
- # count.lf
- #
- # This is an lf example that learns how to count "fingers".
- # Five numbers of either 0 or 1 are presented as the domain
- # and the base 10 total of the five numbers is given as the
- # codomain. This example takes only a few minutes to execute.
- #
- # This type of problem is very difficult for ALNs because
- # perturbing the input slightly changes the desired output.
- # ALNs work best when perturbing the input does not affect
- # the desired output class. Nevertheless, the example
- # illustrates that choosing a large ALN relative to the domain
- # size (in this example, there are only 32 possible inputs)
- # can still achieve a mapping from input to correct output.
- #
-
- tree
- size = 512
- vote = 1
- min correct = 32
- max epochs = 50
-
- function
- domain dimension = 5
- codomain dimension = 1
- coding = 1:1 1:1 1:1 1:1 1:1 6:2
- quantization = 2 2 2 2 2 6
- largest = 1 1 1 1 1 5
- smallest = 0 0 0 0 0 0
- training set size = 32
- training set =
-
- 0 0 0 0 0 0
- 0 0 0 0 1 1
- 0 0 0 1 0 1
- 0 0 0 1 1 2
- 0 0 1 0 0 1
- 0 0 1 0 1 2
- 0 0 1 1 0 2
- 0 0 1 1 1 3
- 0 1 0 0 0 1
- 0 1 0 0 1 2
- 0 1 0 1 0 2
- 0 1 0 1 1 3
- 0 1 1 0 0 2
- 0 1 1 0 1 3
- 0 1 1 1 0 3
- 0 1 1 1 1 4
- 1 0 0 0 0 1
- 1 0 0 0 1 2
- 1 0 0 1 0 2
- 1 0 0 1 1 3
- 1 0 1 0 0 2
- 1 0 1 0 1 3
- 1 0 1 1 0 3
- 1 0 1 1 1 4
- 1 1 0 0 0 2
- 1 1 0 0 1 2
- 1 1 0 1 0 3
- 1 1 0 1 1 4
- 1 1 1 0 0 3
- 1 1 1 0 1 4
- 1 1 1 1 0 4
- 1 1 1 1 1 5
-
- test set size = 32
- test set =
-
- 0 0 0 0 0 0
- 0 0 0 0 1 1
- 0 0 0 1 0 1
- 0 0 0 1 1 2
- 0 0 1 0 0 1
- 0 0 1 0 1 2
- 0 0 1 1 0 2
- 0 0 1 1 1 3
- 0 1 0 0 0 1
- 0 1 0 0 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